package com.hakim.wfb.dao;

import com.hakim.wfb.bean.GoodsList;
import com.hakim.wfb.customer.result.goods.GoodsListView;
import com.hakim.wfb.customer.result.purchase.PurchaseListView;
import com.hkfs.fundamental.api.data.ObjectResultEx;
import com.hkfs.fundamental.database.PageDaoBase;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface GoodsListDao extends PageDaoBase<GoodsList, Long> {


    List<GoodsListView> selectEnabled();

    ObjectResultEx<PurchaseListView> getPurchaseList();

    int checkInvest(String userid);
}
